<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>提示界面</title>
    <style>
        /* 版心 */
        .w {
            width: 900px;
            height: 600px;
            margin: 0 auto;
            border: 1px solid #cccccc;;
        }
        .hint_text {
            text-align: center;
            line-height: 500px;
            color: red;
            margin-top: 50px;
            width: 500px;
            height: 500px;
            margin: 0 auto;
            border: 1px solid #cccccc;;
        }
        .btn {
            display: block;
            text-align: center;
            margin: 0 auto;
        }
    </style>
</head>

<body>

    <div class="w">
        <div class="hint_text">
            您没有该权限！
        </div>
        <button class="btn">返回上一级</button>
    </div>
</body>
</html>
<script>
    var btn = document.querySelector('.btn');
    btn.addEventListener('click',function(){
        history.back();
    })
</script>